<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="js/html5.js"></script>
<script type="text/javascript" src="js/respond.min.js"></script>
<script type="text/javascript" src="js/PIE_IE678.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="<{$Think.const.MY_CONST_VAL}>Admin/css/H-ui.css"/>
<link type="text/css" rel="stylesheet" href="<{$Think.const.MY_CONST_VAL}>Admin/css/H-ui.admin.css"/>
<link type="text/css" rel="stylesheet" href="<{$Think.const.MY_CONST_VAL}>Admin/css/font-awesome.min.css"/>
<!--[if IE 7]>
<link href="font/font-awesome-ie7.min.css" rel="stylesheet" type="text/css" />
<![endif]-->
<title>管理员列表</title>
</head>
<body>
<nav class="Hui-breadcrumb"><i class="icon-home"></i> 首页 <span class="c-gray en">&gt;</span> 管理员管理 <span class="c-gray en">&gt;</span> 权限管理 <a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="icon-refresh"></i></a></nav>
<div class="pd-20">
  <div class="text-c">

      
     <a href="<{:U('shpadd')}>"> <span type="button" class="btn btn-success" 
> 添加商品分类</span></a>
 
  </div>
  <div class="cl pd-5 bg-1 bk-gray mt-20">
    <span class="l"><a href="javascript:;" onClick="datadel()" class="btn btn-danger radius"><i class="icon-trash"></i> 批量删除</a></span>
    <span class="r">共有数据：<strong>54</strong> 条</span>
  </div>
  <table class="table table-border table-bordered table-bg">
    <thead>
      <tr>
        <th scope="col" colspan="10">商品分类</th>
      </tr>
      <tr class="text-c">
        <th width="25"><input type="checkbox" name="" value=""></th>
        <th width="40">ID</th>
        <th width="200">商品名</th>
        <th width="200">产品分类</th>
        <th width="200">商品图片</th>
        <th width="150">商品价格</th>
        <th width="150">商品库存数量</th>
        <th width="150">品牌id</th>
        <th width="150">上下架</th>

        <th width="150">操作</th>
      </tr>
    </thead>
    <tbody>
    
    <volist name="info" id="vo" >
      <tr class="text-c">
        <td><input type="checkbox" value="<{$vo['id']}>" name=""></td>
         <th width="40"><{$vo['id']}></th>
        <th width=""><{$vo['goods_name']}></th>
        <th width=""><{$vo['cate_id']}></th>
        <th width=""><img src="<{$Think.const.MY_QWER_VAL}>/zol/Uploads/<{$vo['goods_pic']}>" width=50 height=50/></th>
        <th width=""><{$vo['goods_price']}></th>
        <th width=""><{$vo['goods_num']}></th>
        <th width=""><{$vo['brand_id']}></th>
       
              <td class="admin-status">
    <if condition="$vo.up_down eq '0'">
<span class="label label-success">销售中</span>
<else /> 
<span class="label">已下架</span>
</if>
        
        </td>
        
        
         <td>
 <a style="text-decoration:none" onClick="admin_stop(this,'10001')" href="<{:U('xia')}>?id=<{$vo['id']}>" title="下架"><i class="icon-hand-down"></i></a>
<a title="编辑" href="<{:U('shpedit')}>?id=<{$vo['id']}>" onClick="admin_permission_edit('1','400','310','角色编辑','admin-permission-edit.html')" class="ml-5" style="text-decoration:none"><i class="icon-edit"></i></a>
<a title="删除" href="<{:U('shpdel')}>?id=<{$vo['id']}>" onClick="admin_permission_del(this,'1')" class="ml-5" style="text-decoration:none"><i class="icon-trash"></i></a></td>
      </tr>
      <foreach name="data" item="v" >
      <eq name="v.fid" value="$vo['id']">
           <tr class="text-c">
        <td><input type="checkbox" value="<{$vo['zid']}>" name=""></td>
        <td><{$v['id']}></td>
        <td><{$v['name']}></td>
        <td>

			<{$vo['name']}>
			
        </td>
        
       
        <td class="f-14">
<a title="编辑" href="<{:U('fenedit')}>?id=<{$v['id']}>" onClick="admin_permission_edit('1','400','310','角色编辑','admin-permission-edit.html')" class="ml-5" style="text-decoration:none"><i class="icon-edit"></i></a>
<a title="删除" href="<{:U('fendel')}>?id=<{$v['id']}>" onClick="admin_permission_del(this,'1')" class="ml-5" style="text-decoration:none"><i class="icon-trash"></i></a></td>
      </tr>
     </eq>  
 </foreach>     
      
      
     	</volist> 
    </tbody>
  </table>
</div>


</body>
</html>